#ifndef __QF_DB_BASE_H__
#define __QF_DB_BASE_H__

#include <vector>
typedef int DBerr;

enum {
	DBSuccess = 0,
	DBError = 1,
};

class db_base {
public:
	db_base () {};
	virtual ~db_base () {};
	virtual DBerr db_insert_one_path (const char *) = 0;
	virtual std::vector<char *> db_find_one_name (const char *) = 0;
	virtual void db_debug_all_data (void) = 0;
private:
	virtual DBerr db_reset () = 0;
};

#endif
